import request from '../utils/request'

let service ={
    getErrorsCount(){
        return request({
            method:'GET',
            url:'/errors/getErrorsCount'
        })
    },
    getErrors(){
        return request({
            method:'GET',
            url:'/errors/getErrors'
        })
    },
    delErrors(param){
        return request({
            method:'POST',
            url:'/errors/delErrors',
            data:param
        })
    }
}

export default service